package com.tuling.designpattern.distinct;

/**
 * @author 林瑞涛
 * @desc
 * @date 2021年08月28日 14:23
 */
public class RuleItem {


    private Integer min;

    private Integer max;


    public Integer getMin() {
        return min;
    }

    public void setMin(Integer min) {
        this.min = min;
    }

    public Integer getMax() {
        return max;
    }

    public void setMax(Integer max) {
        this.max = max;
    }

    public RuleItem(Integer min, Integer max) {
        this.min = min;
        this.max = max;
    }

    @Override
    public String toString() {
        return "RuleItem{" +
                "min=" + min +
                ", max=" + max +
                '}';
    }
}
